package com.dao;

import com.model.pojo.Listing;
import com.model.pojo.Portfolio;
import com.sun.xml.internal.bind.v2.model.core.ID;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ListingMapper {
    public List<Listing> search(@Param("card") String card);

    public List<Listing> listMessage();

    public Portfolio diseasePrice(@Param("diseaseID") String diseaseID);

    public boolean listOf(@Param("id") int id, @Param("serialNumber") String serialNumber, @Param("medicalCardNumber") String medicalCardNumberString, @Param("listingProject") String listingProject, @Param("listingPrice") String listingPrice, @Param("listingPayCost") String listingPayCost);

    public List<Listing> personalMessage(@Param("listingSerialNumber") String listingSerialNumber);

}

